package demo;
public class Test {
    public static void main(String[] args) {
        int a=10;
        Integer b=Integer.valueOf(a);//装箱
        Integer c=new Integer(a);
        int d=b.intValue();//拆箱
        int e=c.intValue();

        System.out.println(d);
        System.out.println(b);
        System.out.println(c);
        System.out.println(e);
    }
}
